package de.hauschild.jchronology;

import java.util.Calendar;
import java.util.Date;

public class CalendarUtils {

  private static final Calendar CALENDAR = Calendar.getInstance();

  public static int get(final Date theDate, final int theField) {
    CALENDAR.setTime(theDate);
    return CALENDAR.get(theField);
  }

  private CalendarUtils() {
  }

}
